import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/css/reset.css'
import 'element-plus/dist/index.css'

import VueMarkdownEditor from '@kangc/v-md-editor'
import '@kangc/v-md-editor/lib/style/base-editor.css'
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js'
import '@kangc/v-md-editor/lib/theme/style/vuepress.css'
import Prism from 'prismjs'
import createLineNumbertPlugin from '@kangc/v-md-editor/lib/plugins/line-number/index'

import impeleui from '@/utils/eleui.js'
VueMarkdownEditor.use(vuepressTheme, {
  Prism
})
VueMarkdownEditor.use(createLineNumbertPlugin())
const app = createApp(App)
impeleui(app)
app.use(store).use(router).use(VueMarkdownEditor).mount('#app')
